#ifndef _GM_SC_CONT_MGR_H
#define _GM_SC_CONT_MGR_H

#include <middleware/mk_lib/mk_node_list.h>

#include "gm_sc_cont.h"


class gm_sc_cont_mgr
{
public:
	gm_sc_cont_mgr();
	~gm_sc_cont_mgr();

public:

	ULONG add_cont(gm_sc_cont * cont);

	ULONG remove_cont(char *pName);

	ULONG remove_cont(gm_sc_cont *pcont);

	gm_sc_cont * get_cont_by_name(char *pName);

	gm_sc_cont* get_first_cont();

	gm_sc_cont* get_next_cont();

	ULONG clear();


private:
	mk_node_list _sc_con_list;
	mk_node *_curr_pos;
};

#endif//_GM_SC_CONT_MGR_H


